<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OptionsPricing: models::SecondOrderStatic1D::SecondOrderStatic1D Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OptionsPricing
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>models</b>      </li>
      <li class="navelem"><b>SecondOrderStatic1D</b>      </li>
      <li class="navelem"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html">SecondOrderStatic1D</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">models::SecondOrderStatic1D::SecondOrderStatic1D Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="models::SecondOrderStatic1D::SecondOrderStatic1D" -->
<p><a href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#ab7016aa8f5feb412269b618d9bf93378">__init__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a43eea604ac0be871226732f3991db3c5">get_bd_conditions</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#aedc98ffb863eea5c656f6cc126ea10d3">get_load_terms</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#aa98baf79aca585df0fa14539c4f27ccf">get_mass_dformat</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a6fe71c5e639ca5b4a784dd8fd92e4ac9">get_mesh</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a3be57832617a25dbd2dbf96c96a2f680">get_pdecos</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a23465cedc1b4c2b3654161d04270852e">get_quads</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#af9713c7292ce90741fb06fa7aefa295b">get_sfunc</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a3ebb11efcf05a903adb9c1522a614dc6">get_stiff_dformat</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a6049b3427673fb49faa9c79b50ad24b6">set_bd_conditions</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#af7604e05ffc10466ec3253a11489ddb1">set_cos</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#ad4c885be763277c5d03ea62169c89cea">set_load</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#ada46ed260593ba766a07f967d5cdcbf3">set_sfunc_and_quads</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a710bd434531cf412e3b2caf1251beaf9">solve</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmodels_1_1SecondOrderStatic1D_1_1SecondOrderStatic1D.html#a24ab0e3292ce66e4d6000671c99483cd">space_discretize</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><div class="fragment"><pre class="fragment">
solve the boundary value problem:

a*Uxx+b*Ux+cU = f
U[xleft] = uxleft
U[xright] = uxright

  </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00040">40</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab7016aa8f5feb412269b618d9bf93378"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::__init__" ref="ab7016aa8f5feb412269b618d9bf93378" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>nsegs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>xleft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>xright</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">
      m_stiff_diag ~ stiffnes as sparse diag matrix
      m_basis ~ finite element space
      m_mesh ~ mesh structure
      m_left_bd ~ Boundary term left hand side
      m_load ~ force term f(x, t)
      m_mass_diag ~ mass as sparse diag matrix
      m_quads ~ quadrature formulas
      m_right_bd ~ Boundary term right hand side
      m_stiff_diag ~ stiff matrix in diagonal-vector format
      m_ul ~ left boundary condition (real number).
      m_ur ~ right boundary condition (real number).
    </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00065">65</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">m_ass_stiff</a>, <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">m_load</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00091">m_mass_diag</a>, <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00146">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::m_mass_diag</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">m_mesh</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00163">m_stiff_diag</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00228">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::m_stiff_diag</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a43eea604ac0be871226732f3991db3c5"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_bd_conditions" ref="a43eea604ac0be871226732f3991db3c5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_bd_conditions </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">dirichlet bc </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00096">96</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00211">models::PIDEStatic1D::PIDEStatic1D::solve()</a>.</p>

</div>
</div>
<a class="anchor" id="aedc98ffb863eea5c656f6cc126ea10d3"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_load_terms" ref="aedc98ffb863eea5c656f6cc126ea10d3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_load_terms </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">return load pde's load term. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00106">106</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">m_load</a>, and <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">m_mesh</a>.</p>

<p>Referenced by <a class="el" href="SecondOrderStatic1D_8py_source.html#l00161">solve()</a>, and <a class="el" href="PIDEStatic1D_8py_source.html#l00211">models::PIDEStatic1D::PIDEStatic1D::solve()</a>.</p>

</div>
</div>
<a class="anchor" id="aa98baf79aca585df0fa14539c4f27ccf"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_mass_dformat" ref="aa98baf79aca585df0fa14539c4f27ccf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_mass_dformat </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get mass matrix in diag format.</pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00112">112</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00170">models::PIDEStatic1D::PIDEStatic1D::get_mass()</a>.</p>

</div>
</div>
<a class="anchor" id="a6fe71c5e639ca5b4a784dd8fd92e4ac9"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_mesh" ref="a6fe71c5e639ca5b4a784dd8fd92e4ac9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_mesh </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get solver's space grid.</pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00101">101</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="SecondOrderStatic1D_8py_source.html#l00077">m_mesh</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00018">models::PIDEStatic1D::PIDEStatic1D::__init__()</a>, <a class="el" href="GBMSolverAdaptor_8py_source.html#l00194">models::GBMSolverAdaptor::GBMSolverAdaptor::get_price_history()</a>, and <a class="el" href="GBMSolverAdaptor_8py_source.html#l00095">models::GBMSolverAdaptor::GBMSolverAdaptor::set_option_cos()</a>.</p>

</div>
</div>
<a class="anchor" id="a3be57832617a25dbd2dbf96c96a2f680"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_pdecos" ref="a3be57832617a25dbd2dbf96c96a2f680" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_pdecos </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Coeffients used to assemble the Matrices. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00118">118</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

</div>
</div>
<a class="anchor" id="a23465cedc1b4c2b3654161d04270852e"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_quads" ref="a23465cedc1b4c2b3654161d04270852e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_quads </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get quadrature formulas. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00123">123</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00018">models::PIDEStatic1D::PIDEStatic1D::__init__()</a>.</p>

</div>
</div>
<a class="anchor" id="af9713c7292ce90741fb06fa7aefa295b"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_sfunc" ref="af9713c7292ce90741fb06fa7aefa295b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_sfunc </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set shape functions.</pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00128">128</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00018">models::PIDEStatic1D::PIDEStatic1D::__init__()</a>, <a class="el" href="GBMSolverAdaptor_8py_source.html#l00194">models::GBMSolverAdaptor::GBMSolverAdaptor::get_price_history()</a>, <a class="el" href="GBMSolverAdaptor_8py_source.html#l00095">models::GBMSolverAdaptor::GBMSolverAdaptor::set_option_cos()</a>, and <a class="el" href="PIDEStatic1D_8py_source.html#l00211">models::PIDEStatic1D::PIDEStatic1D::solve()</a>.</p>

</div>
</div>
<a class="anchor" id="a3ebb11efcf05a903adb9c1522a614dc6"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::get_stiff_dformat" ref="a3ebb11efcf05a903adb9c1522a614dc6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::get_stiff_dformat </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get stiffness matrix in diag format.</pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00133">133</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="PIDEStatic1D_8py_source.html#l00165">models::PIDEStatic1D::PIDEStatic1D::get_pde()</a>.</p>

</div>
</div>
<a class="anchor" id="a6049b3427673fb49faa9c79b50ad24b6"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::set_bd_conditions" ref="a6049b3427673fb49faa9c79b50ad24b6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::set_bd_conditions </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>uleft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>uright</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set boundary conditions. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00139">139</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

</div>
</div>
<a class="anchor" id="af7604e05ffc10466ec3253a11489ddb1"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::set_cos" ref="af7604e05ffc10466ec3253a11489ddb1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::set_cos </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>diff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>conv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>reac</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>d_is_real</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>c_is_real</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>r_is_real</em> = <code>True</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set pde coeffients. both real or splines. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00144">144</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

</div>
</div>
<a class="anchor" id="ad4c885be763277c5d03ea62169c89cea"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::set_load" ref="ad4c885be763277c5d03ea62169c89cea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::set_load </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>load</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set pde load. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">156</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="Poisson2DFiniteDifference_8py_source.html#l00114">models::Poisson2DFiniteDifference::Poisson2DFiniteDifference::m_load</a>, <a class="el" href="DynamicSolverBase_8py_source.html#l00147">models::DynamicSolverBase::DynamicSolverBase::m_load</a>, and <a class="el" href="SecondOrderStatic1D_8py_source.html#l00156">m_load</a>.</p>

</div>
</div>
<a class="anchor" id="ada46ed260593ba766a07f967d5cdcbf3"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::set_sfunc_and_quads" ref="ada46ed260593ba766a07f967d5cdcbf3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::set_sfunc_and_quads </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>basis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>quads</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">set shape functions and quad formulas. </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00150">150</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>Referenced by <a class="el" href="NumericalOptionGBM_8py_source.html#l00058">models::NumericalOptionGBM::NumericalOptionGBM::set_contract_type()</a>.</p>

</div>
</div>
<a class="anchor" id="a710bd434531cf412e3b2caf1251beaf9"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::solve" ref="a710bd434531cf412e3b2caf1251beaf9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::solve </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Assemble S and RHS.
    Only Dirichlet boundary condition is implemented.
</pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00161">161</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="SecondOrderStatic1D_8py_source.html#l00106">get_load_terms()</a>, <a class="el" href="SecondOrderStatic1D_8py_source.html#l00163">m_stiff_diag</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00228">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::m_stiff_diag</a>.</p>

<p>Referenced by <a class="el" href="NumericalOptionGBM_8py_source.html#l00058">models::NumericalOptionGBM::NumericalOptionGBM::set_contract_type()</a>.</p>

</div>
</div>
<a class="anchor" id="a24ab0e3292ce66e4d6000671c99483cd"></a><!-- doxytag: member="models::SecondOrderStatic1D::SecondOrderStatic1D::space_discretize" ref="a24ab0e3292ce66e4d6000671c99483cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def models::SecondOrderStatic1D::SecondOrderStatic1D::space_discretize </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">discretize in space </pre></div> 
<p>Definition at line <a class="el" href="SecondOrderStatic1D_8py_source.html#l00198">198</a> of file <a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a>.</p>

<p>References <a class="el" href="SecondOrderStatic1D_8py_source.html#l00163">m_stiff_diag</a>, and <a class="el" href="AssembleStiffnesMassMatrices_8py_source.html#l00228">models::AssembleStiffnesMassMatrices::AssembleStiffnesMassMatrices::m_stiff_diag</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SecondOrderStatic1D_8py_source.html">SecondOrderStatic1D.py</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 22 2011 05:17:54 for OptionsPricing by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
